package com.wzdigit.wms.basic.mapper.core.inventory;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wzdigit.framework.orm.mybatis.MyBatisRepository;
import com.wzdigit.wms.basic.domain.inventory.GoodsTemp;
import com.wzdigit.wms.basic.client.request.basic.ImportGoodsTempRequest;
import com.wzdigit.wms.basic.client.request.basic.SearchGoodsTempRequest;
import com.wzdigit.wms.basic.client.response.basic.GoodsTempResponse;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@MyBatisRepository
public interface GoodsTempMapper extends BaseMapper<GoodsTemp> {
    void insertExcel(ImportGoodsTempRequest dto);

    List<GoodsTempResponse> selectAll(@Param("dto") SearchGoodsTempRequest dto);

    List<String> selectSnByGoodsSn(@Param("goodsSn") String GoodsSn);
}
